﻿<Window x:Class="Locker.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Locker Login" Height="325.161" Width="356.775" WindowStartupLocation="CenterScreen" ResizeMode="CanMinimize" 
        WindowStyle="ToolWindow">
    <StackPanel HorizontalAlignment="Stretch" Margin="0,10,0,0">

        <TextBlock TextWrapping="Wrap" Text="Please Login to continue..." HorizontalAlignment="Stretch" Height="20" FontSize="15" Margin="5" />

        <Label Content="UserName : " Margin="10,10,5,5" FontSize="13"/>
        <TextBox HorizontalAlignment="Stretch" Margin="15,0,20,5" Height="26" MaxLength="30"
                 VerticalContentAlignment="Stretch" Name="txtUserName"/>

        <Label Content="Password : " Margin="10,10,5,5" FontSize="13"/>
        <PasswordBox  HorizontalAlignment="Stretch" Margin="15,0,20,5" Height="26" MaxLength="30"
                     Name="txtPasswordBox" VerticalContentAlignment="Stretch" PasswordChar="*" />

        <Label FontSize="13" Name="lblError" Visibility="Hidden" Margin="20,5,5,0" Foreground="Red"/>
        
        <Button Content="Login" x:Name="Login" Height="41" Click="Login_Click" Margin="180,20,20,0"  />
    </StackPanel>
</Window>
